package com.jboost.hyk.knowledge.entity;


import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 知识点版本
 * @Author: cxn
 * @Date:   2022-10-24
 * @Version: V1.0
 */
@Data
@TableName("hyk_knowledge_point_version")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_knowledge_point_version对象", description="知识点版本")
public class KnowledgePointVersion extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**版本编号*/
    @ApiModelProperty(value = "版本编号")
    private String versionCode;

    /**知识点id*/
    @ApiModelProperty(value = "知识点id")
    private String knowledgeId;

    /**name*/
    @ApiModelProperty(value = "name")
    private String name;

    /**时长（秒）*/
    @ApiModelProperty(value = "时长（秒）")
    private Integer duration;

    /**teacherId*/
    @ApiModelProperty(value = "teacherId")
    private String teacherId;

    /**tagIds*/
    @ApiModelProperty(value = "tagIds")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String tagIds;

    /**musicScoreId*/
    @ApiModelProperty(value = "musicScoreId")
    private String musicScoreId;


    /**category1Id*/
    @ApiModelProperty(value = "category1Id")
    private String category1Id;

    /**category2Id*/
    @ApiModelProperty(value = "category2Id")
    private String category2Id;

    /**category3Id*/
    @ApiModelProperty(value = "category3Id")
    private String category3Id;

    @ApiModelProperty(value = "机构采购状态")
    @TableField(exist = false)
    private String purchasedStatus;
}
